package com.zbu.friend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.zbu.**.mapper")
@ComponentScan(basePackages = {"com.zbu.common.file.service"})
@ComponentScan(basePackages = {"com.zbu.common.file.config"})
@EnableFeignClients(basePackages = "com.zbu.api")

public class OjFriendApplication {
    public static void main(String[] args) {
        SpringApplication.run(OjFriendApplication.class,args);
    }
}
